package com.reebake.ideal.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class UserCredentialConfigVO {
    /** 账号是否被启用 */
    @Schema(name = "账号是否被启用", description = "")
    private Boolean accountEnabled;

    /** 账号是否被过期 */
    @Schema(name = "账号是否被过期", description = "")
    private Boolean accountNonExpired;

    /** 账号是否被锁定 */
    @Schema(name = "账号是否被锁定", description = "")
    private Boolean accountNonLocked;

    /** 证书(密码)是否过期 */
    @Schema(name = "证书(密码)是否过期", description = "")
    private Boolean credentialsNonExpired;

    /** 过期时间 */
    @Schema(name = "过期时间", description = "")
    private Date expireAt;
}
